import Reflux from "reflux";
import _ from "lodash";
import lscache from "lscache";
import hash from "object-hash";

import { SearchActions } from "../action/searchaction.js";
//import { ajaxCall, curDate, StoreMixin } from "./common.js";
import { StoreMixin } from "./common.js";


var SearchStore = Reflux.createStore({
    // 获取交易佣金页面所有数据
    mixins: [ StoreMixin ],
    listenables: [ SearchActions ],
    cacheKey: 'stores.searchstore',
    // 特定 API 的参数 使用 {api_name}_paraname 的方式保存
    //params: {yyb_id: CONST.TOP_JGID, },
    apis: {
        'search': {type:"list", params: ['yyb_id', 'jzrq']},
    },
    fakeData: function(){
        // 伪造数据
    }
});
  

export { SearchStore };